package com.lagou.edu.utils;

import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.EnableAspectJAutoProxy;
import org.springframework.context.annotation.Import;

@Configuration                                        // 配置类标识
@ComponentScan(value = {"com.lagou.edu"})             // 包扫描
@Import(value = {DataSourceConfig.class})
@EnableAspectJAutoProxy(proxyTargetClass = true)      // 开启spring对注解AOP的⽀持
public class SpringConfig {

}
